import javafx.scene.transform.Scale;

import java.util.Scanner;

/**
 * \* Created with IntelliJ IDEA.
 * \* User: Administrator
 * \* Date: 2021/10/19
 * \* Time: 18:44
 * \* To change this template use File | Settings | File Templates.
 * \* Description:
 * \
 */
public class TestDemo {
    public static void main(String[] args) {
        int i=0;
        int count=0;
        for(i=1;i<=100;i++){
            if(i%10==9||i/10==9){
                System.out.println(i);
                count++;
            }
        }
        System.out.println("count="+count);
    }
}
